<template>
  <div>
    <h1>Home</h1>
    <input type="text">
    <hr />
    <router-link
      :to="{
        name: 'shangpin',
        params: {
          fruit: '苹果',
        },
      }"
      replace
      >商品</router-link
    >
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Home",
};
</script>
